* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Microsoft YaHei", sans-serif;
}

body {
	background-color: #f5f5f5;
	color: #333;
	line-height: 1.6;
}

.container {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
}

header {
	background-color: #fff;
	padding: 15px;
	border-radius: 8px;
	margin-bottom: 20px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h1 {
	text-align: center;
	margin-bottom: 15px;
	color: #e4393c;
}

.tabs {
	display: flex;
	justify-content: center;
	margin-bottom: 15px;
}

.tab {
	padding: 8px 16px;
	margin: 0 5px;
	background-color: #f0f0f0;
	border-radius: 4px;
	cursor: pointer;
}

.tab.active {
	background-color: #e4393c;
	color: white;
}

.categories {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.category {
	padding: 5px 10px;
	background-color: #f8f8f8;
	border-radius: 4px;
	cursor: pointer;
}

.category.active {
	background-color: #e4393c;
	color: white;
}

.ranking-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.item {
	background-color: #fff;
	border-radius: 8px;
	padding: 15px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: center;
}

.rank {
	width: 30px;
	height: 30px;
	background-color: #ffd700;
	color: #333;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	margin-right: 15px;
}

.rank.top1 {
	background-color: #ffd700; /* 金色 */
}

.rank.top2 {
	background-color: #c0c0c0; /* 银色 */
}

.rank.top3 {
	background-color: #cd7f32; /* 铜色 */
}

.item-image {
	width: 80px;
	height: 80px;
	background-color: #eee;
	border-radius: 5px;
	margin-right: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
}

.item-info {
	flex: 1;
}

.item-title {
	font-weight: bold;
	margin-bottom: 5px;
}

.item-price {
	color: #e4393c;
	font-weight: bold;
	margin-bottom: 5px;
}

.item-source {
	color: #666;
	font-size: 0.9em;
}

.item-stats {
	display: flex;
	gap: 15px;
	margin-top: 5px;
}

.stat {
	display: flex;
	align-items: center;
	gap: 5px;
	color: #666;
	font-size: 0.9em;
}

.reason {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px dashed #eee;
	color: #666;
}
